const fs = require("fs");
const path = require("path")

function fun() {
    fs.readFile(path.join(__dirname, "./index.txt"), "utf8", function (err, data) {
        if (err) {
            console.log(err)
        } else {
            console.log(data);
            console.log(__dirname)
        }
    })
}

// fun()

exports.fun = fun;